package com.aliang.shopping.model.dto.comment;

import com.aliang.shopping.model.dto.common.BasicDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;


@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "评论插入数据传输对象")
@Data
public class CommentInsertDTO extends BasicDTO {


    /**
     * 评论文本
     */
    @ApiModelProperty(value = "评论文本",required = true)
    private String commentText;

    /**
     * 评论图片集合
     */
    @ApiModelProperty(value = "评论图片集合",required = true)
    private List<String> commentImageList;


    /**
     * 评分
     */
    @ApiModelProperty(value = "score_num",required = true)
    private BigDecimal scoreNum;
}
